[PATCH] Workaround to add IPv6 support to getifaddrs
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 1 Mar 2026 20:10:06 +0000 (21:10 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 1 Mar 2026 20:10:06 +0000 (21:10 +0100)
commit7c9c1d0c9c7b5354952266f73028cbcad1cfa151
tree3a94a3d0e86010240236d085e9dd31a04b559b4f
parent7eeeae2cef8b87cc070da223c8184bbe698ccb32
[PATCH] Workaround to add IPv6 support to getifaddrs

ifreq only contains sockaddr structures, which are not big enough for
IPv6 addresses. This takes another, ugly, approach, by parsing fsysopts
/servers/socket/2 options...

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-ifaddrs_v6.diff
sysdeps/mach/hurd/ifaddrs.c [new file with mode: 0644]